//<![CDATA[

a = document.getElementsByTagName('LABEL');
if(a) {
	for(i=0; i < a.length; i++) {
		_str = a.item(i).innerHTML.replace(/:\)\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/70bff581.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:d/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_113_.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/\;\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/4412144b.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:p/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_101_.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:\(\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/33c4b951.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_059_.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/875328cc.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\|/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/023.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/\=\)\)/ig,"<img src='http://www.cute-factor.com/images/smilies/onion/071.gif' height='30' width='30' class='smiley'/>")
		a.item(i).innerHTML = _str;
	}
}

a = document.getElementById('comments');
if(a) {
	b = a.getElementsByTagName("DD");
	for(i=0; i < b.length; i++) {
            if (b.item(i).getAttribute('CLASS') == 'cm_entry') {
                _str = b.item(i).innerHTML.replace(/:\)\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/70bff581.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\)\]/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/037.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/;\)\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/069.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/;\;\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_104_.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:d/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_113_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/\;\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/4412144b.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:p/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_101_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\(\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/33c4b951.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_059_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/875328cc.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:x/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/6f428754.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/=\(\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_087_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\-\o/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/e111de78.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:-\//gi, "<img src='http://www.cute-factor.com/images/smilies/onion/efb50fe2.gif' height='30' width='30' class='smiley'/>"); 
                _str = _str.replace(/:-\*/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_106_.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/:\|/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/023.gif' height='30' width='30' class='smiley'/>"); 
                _str = _str.replace(/8-\}/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/5c745924.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/~x\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/042.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:-t/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/87a4e689.gif' height='30' width='30' class='smiley'/>");  
                _str = _str.replace(/b-\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/047352f3.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/:-\L/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_116_.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/x\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/4d6161fd.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/:-\q/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/d5f02ecd.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/\=\)\)/ig,"<img src='http://www.cute-factor.com/images/smilies/onion/071.gif' height='30' width='30' class='smiley'/>")
                b.item(i).innerHTML = _str;
            }
	}
}

a = document.getElementById('comments');
if(a) {
	c = a.getElementsByTagName("DD");
	for(i=0; i < c.length; i++) {
            if (c.item(i).getAttribute('CLASS') == 'cm_entry_a') {
                _str = c.item(i).innerHTML.replace(/:\)\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/70bff581.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:\)\]/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/037.gif' height='30' width='30' class='smiley'/>");                
		_str = _str.replace(/;\)\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/069.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/;\;\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_104_.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:d/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_113_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/\;\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/4412144b.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:p/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_101_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\(\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/33c4b951.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\)/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_059_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/875328cc.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:x/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/6f428754.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/=\(\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_087_.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:\-\o/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/e111de78.gif' height='30' width='30' class='smiley'/>");
                _str = _str.replace(/:-\//gi, "<img src='http://www.cute-factor.com/images/smilies/onion/efb50fe2.gif' height='30' width='30' class='smiley'/>"); 
                _str = _str.replace(/:-\*/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_106_.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/:\|/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/023.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/8-\}/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/5c745924.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/~x\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/042.gif' height='30' width='30' class='smiley'/>");
		_str = _str.replace(/:-t/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/87a4e689.gif' height='30' width='30' class='smiley'/>");  
                _str = _str.replace(/b-\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/047352f3.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/:-\L/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/th_116_.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/x\(/gi, "<img src='http://www.cute-factor.com/images/smilies/onion/4d6161fd.gif' height='30' width='30' class='smiley'/>"); 
		_str = _str.replace(/:-\q/ig,"<img src='http://www.cute-factor.com/images/smilies/onion/d5f02ecd.gif' height='30' width='30' class='smiley'/>")
		_str = _str.replace(/\=\)\)/ig,"<img src='http://www.cute-factor.com/images/smilies/onion/071.gif' height='30' width='30' class='smiley'/>")
                c.item(i).innerHTML = _str;
            }
	}
}
//]]>
